|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.vtp.framework.interactions.core.commands.ConversationCommand
org.eclipse.vtp.framework.interactions.core.commands.ExternalReferenceCommand
public final class ExternalReferenceCommand
A command that sends an external reference to the user.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.vtp.framework.interactions.core.commands.ConversationCommand |
|---|
INPUT_TYPE_CUSTOM, INPUT_TYPE_FILE, OUTPUT_TYPE_FILE, OUTPUT_TYPE_TEXT |
| Constructor Summary | |
|---|---|
ExternalReferenceCommand()
Creates a new ExternalReferenceCommand. |
|
| Method Summary | |
|---|---|
java.lang.Object |
exportContents()
Exports the contents of this command to a simple structure of arrays and serializable values from java.lang. |
java.lang.String[] |
getInputArgumentNames()
Returns the names of the arguments the resource takes as input. |
java.lang.String |
getInputArgumentValue(java.lang.String name)
Returns the value of an argument the resource takes as input. |
java.lang.String[] |
getOutputArgumentNames()
Returns the names of the arguments the resource returns as output. |
java.lang.String |
getOutputArgumentValue(java.lang.String name)
Returns the value of an argument the resource returns as output. |
java.lang.String[] |
getParameterNames()
Returns the names of the parameters that will be returned from the interaction. |
java.lang.String[] |
getParameterValues(java.lang.String name)
Returns the values of a parameter to be set when the process resumes. |
java.lang.String |
getReferenceName()
Returns the name of the external reference being called. |
java.lang.String |
getReferenceURI()
Returns the URI of the external reference. |
void |
importContents(java.lang.Object contents)
Configures the contents of this command with a structure previously returned from ICommand.exportContents(). |
void |
setInputArgumentValue(java.lang.String name,
java.lang.String value)
Configures the value of an argument the resource takes as input. |
void |
setOutputArgumentValue(java.lang.String name,
java.lang.String value)
Configures the value of an argument the resource returns as output. |
void |
setParameterValues(java.lang.String name,
java.lang.String[] values)
Configures a parameter set when the current process resumes. |
void |
setReferenceName(java.lang.String inputName)
Sets the name of the external reference being called. |
void |
setReferenceURI(java.lang.String referenceURI)
Sets the URI of the external reference. |
| Methods inherited from class org.eclipse.vtp.framework.interactions.core.commands.ConversationCommand |
|---|
accept |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExternalReferenceCommand()
| Method Detail |
|---|
public java.lang.String getReferenceName()
public void setReferenceName(java.lang.String inputName)
inputName - The name of the external reference being called.public java.lang.String getReferenceURI()
public void setReferenceURI(java.lang.String referenceURI)
referenceURI - The URI of the external reference.public java.lang.String[] getInputArgumentNames()
public java.lang.String getInputArgumentValue(java.lang.String name)
name - The name of the argument to be passed.
public void setInputArgumentValue(java.lang.String name,
java.lang.String value)
name - The name of the argument to pass.value - The value of the argument.public java.lang.String[] getOutputArgumentNames()
public java.lang.String getOutputArgumentValue(java.lang.String name)
name - The name of the argument to be returned.
public void setOutputArgumentValue(java.lang.String name,
java.lang.String value)
name - The name of the argument to return.value - The value of the argument.public java.lang.String[] getParameterNames()
public java.lang.String[] getParameterValues(java.lang.String name)
name - The name of the parameter to be set.
public void setParameterValues(java.lang.String name,
java.lang.String[] values)
name - The name of the parameter to set.values - The values to set the parameter to.public java.lang.Object exportContents()
ICommandjava.lang.
public void importContents(java.lang.Object contents)
ICommandICommand.exportContents().
contents - The exported contents structure to load from.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||